\documentclass[10pt,a5paper]{bookknrrus} \input{definitions.tex} \title{Язык программирования Си} \author{Брайан Уилсон Керниган \and Деннис МакАлистэйр Ритчи} \date{1992} \begin{document} \input{title_pages.tex} \input{chapters/intros.tex} \input{chapters/chapter1.tex} \input{chapters/chapter2.tex} \input{chapters/chapter3.tex} \input{chapters/chapter4.tex} \input{chapters/chapter5.tex} \input{chapters/chapter6.tex} \input{chapters/chapter7.tex} \input{chapters/chapter8.tex} \appendix \setcounter{secnumdepth}{3} \input{appendixes/apx_a.tex} \input{appendixes/apx_b.tex} \input{appendixes/apx_c.tex} \input{index_referenced_entries.tex} % % xyndy где-то меняет pagestyle первой страницы предметного указателя, % не обращая внимания на определения в cls, поэтому тут небольшой костыль, % который превращает \thispagestyle в стаб % TODO: найти место, где \printindex меняет pagestyle и сделать корректное % решение % \let\originalstyle=\thispagestyle \def\thispagestyle#1{} \printindex \let\thispagestyle=\originalstyle \tableofcontents \input{final_tech_pages.tex} \end{document} % % — это образец хреновой черты %